<template>
  <div>
    <el-tag v-if="status === 0" type="info" :size="size">待一级审核</el-tag>
    <el-tag v-if="status === 1" type="warning" :size="size">待二级审核</el-tag>
    <el-tag v-if="status === 2" type="success" :size="size">审核通过</el-tag>
    <el-tag v-if="status === 3" type="danger" :size="size">审核驳回</el-tag>
  </div>
</template>
<script>
export default {
  name: 'AApprovalStatusTag',
  props: {
    status: {
      type: [Number, String],
      default: null,
    },
    size: {
      type: String,
      default: 'small',
    },
  },
  data() {
    return {};
  },
};
</script>
